<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<title>员工添加页面</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" th:href="@{css/bootstrap.min.css}" />
<link rel="stylesheet" th:href="@{css/bootstrap-responsive.min.css}" />
<link rel="stylesheet" th:href="@{css/colorpicker.css}" />
<link rel="stylesheet" th:href="@{css/datepicker.css}" />
<link rel="stylesheet" th:href="@{css/uniform.css}" />
<link rel="stylesheet" th:href="@{css/select2.css}" />
<link rel="stylesheet" th:href="@{css/matrix-style.css}" />
<link rel="stylesheet" th:href="@{css/matrix-media.css}" />
<link rel="stylesheet" th:href="@{css/bootstrap-wysihtml5.css}" />
<link th:href="@{font-awesome/css/font-awesome.css}" rel="stylesheet" />
<link th:href='@{http://fonts.googleapis.com/css?family=Open+Sans:400,700,800}' rel='stylesheet' type='text/css'>
</head>
<body>

<!--Header-part-->
<div th:replace="~{commons/commons::header}"/>
<!--close-Header-part-->

<!--top-Header-menu-->
<div th:replace="~{commons/commons::user-nav}"/>
<!--close-top-Header-menu-->

<!--sidebar-menu-->
<div th:replace="~{commons/commons::sidebar}"/>
<!--sidebar-menu-->

<div id="content">
<div id="content-header">
  <div id="breadcrumb"> <a href="../index.html" title="Go to Home" class="tip-bottom "><i class="icon-home"></i> Home</a>  <a href="#" class="current">添加部门</a> </div>
  <h1>添加部门</h1>
</div>
<div class="container-fluid">
  <hr>
  <div class="row-fluid ">
    <div class="span6 ">
      <div class="widget-box" >
        <div class="widget-title"> <span class="icon"> <i class="icon-align-justify"></i> </span>
          <h5>部门信息</h5>
        </div>
        <div class="widget-content nopadding" >
          <form th:action="@{/addDept}" method="post" class="form-horizontal"><!--post请求标准清楚-->

            <div class="control-group">
              <label class="control-label">departmentID:</label>
              <div class="controls">
                <input type="text" class="span11" placeholder="该字段自增" name="departmentID" readonly="true"/>
              </div>
            </div><!--departmentID-->

            <div class="control-group">
              <label class="control-label">departmentName:</label>
              <div class="controls">
                <input type="text" class="span11" placeholder="departmentName " name="departmentName"/>
              </div>
            </div><!--departmentName-->

            <div class="form-actions">
              <button type="submit" class="btn btn-success pull-right">保 存</button>
            </div><!--提交按键-->

          </form>
        </div>
      </div><!--添加页面主体信息-->

    </div>
  </div>
</div>
</div>
<!--Footer-part-->
<div class="row-fluid">
  <div id="footer" class="span12">Copyright &copy; 2018.Company name All rights reserved.</div>
</div>
<!--end-Footer-part--> 
<script th:src="@{js/jquery.min.js}"></script>
<script th:src="@{js/jquery.ui.custom.js}"></script>
<script th:src="@{js/bootstrap.min.js}"></script>
<script th:src="@{js/bootstrap-colorpicker.js}"></script>
<script th:src="@{js/bootstrap-datepicker.js}"></script>
<script th:src="@{js/jquery.toggle.buttons.html}"></script>
<script th:src="@{js/masked.js}"></script>
<script th:src="@{js/jquery.uniform.js}"></script>
<script th:src="@{js/select2.min.js}"></script>
<script th:src="@{js/matrix.js}"></script>
<script th:src="@{js/matrix.form_common.js}"></script>
<script th:src="@{js/wysihtml5-0.3.0.js}"></script>
<script th:src="@{js/jquery.peity.min.js}"></script>
<script th:src="@{js/bootstrap-wysihtml5.js}"></script>
<script>
	$('.textarea_editor').wysihtml5();
</script>
</body>
</html>
